var options_validate = {
        rules:{
            name:{
                required:true
            },
            location:{
                required:true
            },
            ns:{
                required:true
            },
            detail:{
                required:true
            },
            no:{
                number: true,
                required:true
            },
            starttime:{
                required:true
            },
            endtime:{
                required:true
            },
            myda:{
                required:true
            }
        },
        messages:{
            name:{
                required: "This field is required"
            },
            ns:{
                required: "This field is required"
            },
            starttime:{
                required: "This field is required"
            },
            endtime:{
                required: "This field is required"
            },
            detail:{
                required: "This field is required"
            },
            location:{
                required: "This field is required"
            },
            myda:{
                required: "This field is required"
            }
        },
        success: function(label) {
			// set &nbsp; as text for IE
			label.html("&nbsp;").addClass("checked");
        }

}
